import request from "@/utils/request"

export function userLogin(param) {
    return request({
        method: "post",
        url: "/user/login",
        data: param
    })
}

export function userRegister(param) {
    return request({
        method: "post",
        url: "/user/register",
        data: param
    })
}
//     method: "post",
//     url: "/user/login",
//     params: param
// }
